package com.qf.base.domain;

import com.qf.common.annotation.Excel;
import com.qf.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * --- ONE PIECE ---
 *
 * @author yangjiangcheng
 * @date 2025/9/4
 * @desc
 */
@Data
public class BaseAddress extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long addressId;

    /** 地址类型 */
    @Excel(name = "地址类型")
    private String addressType;

    /** 客户 */
    @Excel(name = "客户")
    private String customer;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("addressId", getAddressId())
                .append("addressType", getAddressType())
                .append("customer", getCustomer())
                .append("contactPerson", getContactPerson())
                .append("contactPhone", getContactPhone())
                .append("detailedAddress", getDetailedAddress())
                .append("remarks", getRemarks())
                .toString();
    }
}
